package com.yundian.vo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Car entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Car implements java.io.Serializable {

	// Fields

	private Integer carId;
	private Integer carShopid;
	private Integer carMemberid;
	private Integer carKind;
	private String carCarName;
	private Integer carState;
	private Integer carPagesum;
	private Double carTotalprice;
	private Date carTime;
	private String carRemark;
	private Set sporders = new HashSet(0);
	private Set fileorders = new HashSet(0);

	// Constructors

	/** default constructor */
	public Car() {
	}

	/** minimal constructor */
	public Car(Integer carShopid, Integer carMemberid, Integer carKind,
			String carCarName, Integer carState, Integer carPagesum,
			Double carTotalprice, Date carTime) {
		this.carShopid = carShopid;
		this.carMemberid = carMemberid;
		this.carKind = carKind;
		this.carCarName = carCarName;
		this.carState = carState;
		this.carPagesum = carPagesum;
		this.carTotalprice = carTotalprice;
		this.carTime = carTime;
	}

	/** full constructor */
	public Car(Integer carShopid, Integer carMemberid, Integer carKind,
			String carCarName, Integer carState, Integer carPagesum,
			Double carTotalprice, Date carTime, String carRemark, Set sporders,
			Set fileorders) {
		this.carShopid = carShopid;
		this.carMemberid = carMemberid;
		this.carKind = carKind;
		this.carCarName = carCarName;
		this.carState = carState;
		this.carPagesum = carPagesum;
		this.carTotalprice = carTotalprice;
		this.carTime = carTime;
		this.carRemark = carRemark;
		this.sporders = sporders;
		this.fileorders = fileorders;
	}

	// Property accessors

	public Integer getCarId() {
		return this.carId;
	}

	public void setCarId(Integer carId) {
		this.carId = carId;
	}

	public Integer getCarShopid() {
		return this.carShopid;
	}

	public void setCarShopid(Integer carShopid) {
		this.carShopid = carShopid;
	}

	public Integer getCarMemberid() {
		return this.carMemberid;
	}

	public void setCarMemberid(Integer carMemberid) {
		this.carMemberid = carMemberid;
	}

	public Integer getCarKind() {
		return this.carKind;
	}

	public void setCarKind(Integer carKind) {
		this.carKind = carKind;
	}

	public String getCarCarName() {
		return this.carCarName;
	}

	public void setCarCarName(String carCarName) {
		this.carCarName = carCarName;
	}

	public Integer getCarState() {
		return this.carState;
	}

	public void setCarState(Integer carState) {
		this.carState = carState;
	}

	public Integer getCarPagesum() {
		return this.carPagesum;
	}

	public void setCarPagesum(Integer carPagesum) {
		this.carPagesum = carPagesum;
	}

	public Double getCarTotalprice() {
		return this.carTotalprice;
	}

	public void setCarTotalprice(Double carTotalprice) {
		this.carTotalprice = carTotalprice;
	}

	public Date getCarTime() {
		return this.carTime;
	}

	public void setCarTime(Date carTime) {
		this.carTime = carTime;
	}

	public String getCarRemark() {
		return this.carRemark;
	}

	public void setCarRemark(String carRemark) {
		this.carRemark = carRemark;
	}

	public Set getSporders() {
		return this.sporders;
	}

	public void setSporders(Set sporders) {
		this.sporders = sporders;
	}

	public Set getFileorders() {
		return this.fileorders;
	}

	public void setFileorders(Set fileorders) {
		this.fileorders = fileorders;
	}

}